package org.example.dynamic.service.impl;

import com.baomidou.mybatisplus.extension.service.IService;
import org.example.dynamic.enetity.FileInfo;
import org.springframework.web.multipart.MultipartFile;

import java.io.IOException;
import java.util.List;
import java.util.Map;

/**
 * 文件处理service
 * @author Admin
 *
 */
public interface IFileService extends IService<FileInfo> {

    void upload(MultipartFile file) throws IOException;

    FileInfo getById(Long id);

    Object queryImage(Long id);
}
